﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DFGK_WMS.Model.Dto;
using DFGK_WMS.Model.Models.BBS;

namespace DFGK.IService.BBS
{
    public interface IWorkflowService
    {
        bool SubmitWorkflow(WorkFlow workFlow, out string errMsg);
        WorkFlow? GetWorkflow(long workflowId);
        bool DelWorkflow(long workFlowId, out string errmsg);
        List<WorkFlow> GetWorkFlowPageData(string? busName, string? status, out int totalCount, int pageIndex = 1, int pageSize = 20);
        bool SubmitWorkFlowOrder(WorkFlowAduitInputModel workFlowAduitInput, int cuurentUserId, string? currentUserName, out string errorMsg);
    }
}
